/*
 * @Author: jiu yin
 * @Date: 2024-05-31 16:09:24
 * @LastEditTime: 2024-06-06 15:34:46
 * @LastEditors: jiu yin zhen jing
 * @FilePath: \studio-web-admin\src\utils\sessionStorage.js
 * jiu
 */


//websocket 链接状态 1成功 2失败

export const getWsStatus = () => {
   return JSON.parse(sessionStorage.getItem("wsStatus")) || {};
}

export const setWsStatus = (obj = {}) => {
   return sessionStorage.setItem("wsStatus", JSON.stringify(obj));
}